// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import IMSDK_Config from '@/assets/js/ImSDKConfig'
import store from './store/store'
import ckq from 'vue-ckq-layer'
Vue.use(ckq)

Vue.config.productionTip = false;

(function(){
  IMSDK.setDebugEnable(false);
  IMSDK.callback_log = IMSDK_Config.log;
  IMSDK.callback_showChatMessage = IMSDK_Config.showChatMessage;
  IMSDK.callback_afterLoginSucess = IMSDK_Config.afterLoginSucess;
  IMSDK.callback_afterLoginFailed = IMSDK_Config.afterLoginSucessFailed;
  IMSDK.callback_disconnected = IMSDK_Config.afterDisconnected;
  IMSDK.callback_reconnectSucess = IMSDK_Config.afterReconnectSucess;
})();



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
